//
//  LTFNavigationCollectionCell.m
//  NeteaseNews
//
//  Created by liutaifeng on 16/4/19.
//  Copyright © 2016年 liutaifeng. All rights reserved.
//

#import "LTFNavigationCollectionCell.h"

@implementation LTFNavigationCollectionCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}
- (void)createView {
    self.myLabel = [[UILabel alloc] init];
    [self.contentView addSubview:_myLabel];
    [_myLabel release];
}
- (void)layoutSubviews {
    self.myLabel.frame = self.contentView.frame;
    self.myLabel.textAlignment = 1;
    self.myLabel.textColor = [UIColor grayColor];
}

- (void)dealloc {
    [_myLabel release];
    [super dealloc];
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
